#ifndef CHECK_UDISK_H
#define CHECK_UDISK_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <linux/types.h>
#include <linux/netlink.h>
#include <errno.h>
#include "platform.h"
#include <sys/statfs.h>         //查询磁盘文件系统的空间,//https://www.cnblogs.com/taoye1997/p/11815088.html


//存储空间
typedef struct EMMC_info
{
    double total;
    double used;
    double remain;
    double free;
}EMMC_info;



typedef struct {
    int savevalue;
    char *pic_load;
    char *avi_load;
}Save_Load;

extern int copyefile;                     //1=U盘拷贝状态,0=非拷贝状态:   定义在platform.c
void * check_udisk(void *pArgs);




#endif
